package com.rock.code.common.util;

public class DevCategoryUtil {

    public static String getDevCategory(int categoryId) {
        String categoryType = "";
        switch (categoryId) {
            case 0:
                categoryType = "Router";
                break;
            case 1:
                categoryType = "Switch";
                break;
            case 2:
                categoryType = "Firewall";
                break;
            default:
                break;
        }
        return categoryType;
    }
}
